import load

rankSum=[0,0,0,0,0,0,0]
rankNum=[0,0,0,0,0,0,0]

SchoolList=['菏泽市第一中学','巨野县第一中学','郓城一中','成武一中','曹县第一中学','定陶县第一中学','单县第一中学']

for s in range(7):
    for i in range(2,23052):
        School = load.getCell(i, load.School)
        rank=load.getCell(i,load.Geog+3)
        if School==SchoolList[s] and rank!='-':
            rankSum[s]+=rank
            rankNum[s]+=1

for i in range(7):
    print(round(rankSum[i]/rankNum[i],0))